package May19ch18ex1;

public class MyExtendedThreads {
	public static void main(String[] args) {
		MyThread myThread1 = new MyThread("MyA");
		myThread1.setPriority(1);
		MyThread myThread2 = new MyThread("MyB");
		myThread2.setPriority(5);
		MyThread myThread3 = new MyThread("MyC");
		myThread3.setPriority(10);
		myThread1.start();
		myThread2.start();
		myThread3.start();

	}
}
